package com.ml.mall.mapper;

import com.ml.mall.bean.res.admin.category.AdminCategoryQueryPageRes;
import com.ml.mall.bean.res.partner.PartnerSupplierQueryPageRes;
import com.ml.mall.bean.res.supplier.SupplierVariantQueryPageRes;
import com.ml.mall.bean.vo.DateValueVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by kyyang on 2021/6/8 23:01
 */
@Repository
public interface AnalyticsSupplierMapper {


    /**
     * @description: 查询某一买家 消费一级目录 总记录数
     * @author kyyang
     * @date 2021/7/3 15:00
     * @version 1.0
     */
    Integer selectSupplierVariantQueryPageCount(@Param("startTime") String timeBegin, @Param("endTime") String timeEnd, @Param("companyId") Long companyId,@Param("supplierId") Long supplierId);

    /**
     * @description: 查询某一买家 消费一级目录 记录明细
     * @author kyyang
     * @date 2021/7/3 15:27
     * @version 1.0
     */
    List<SupplierVariantQueryPageRes> selectSupplierVariantQueryPageList(@Param("startTime") String timeBegin, @Param("endTime") String timeEnd,@Param("sortType") int sortType,@Param("companyId") Long companyId,@Param("supplierId") Long supplierId,@Param("start") int start,@Param("end") int end);

}
